package JLB_Chapter_05;
//StringRemoveBlank
public class code_05_24 {
    public static void main(String[] args) {
        String str = " a b cd e    f g";
        String shortstr = str.replaceAll("\\s","");
        System.out.println(str);
        System.out.println(shortstr);
    }
}
